package com.org.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * MemberRank entity. @author MyEclipse Persistence Tools
 */

public class MemberRank implements java.io.Serializable {

	// Fields

	private Long id;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private Double amount;
	private Boolean isDefault;
	private Boolean isSpecial;
	private String name;
	private Double scale;
	private Set promotionMemberRanks = new HashSet(0);
	private Set members = new HashSet(0);
	private Set productMemberPrices = new HashSet(0);

	// Constructors

	/** default constructor */
	public MemberRank() {
	}

	/** minimal constructor */
	public MemberRank(Timestamp createDate, Timestamp modifyDate,
			Boolean isDefault, Boolean isSpecial, String name, Double scale) {
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.isDefault = isDefault;
		this.isSpecial = isSpecial;
		this.name = name;
		this.scale = scale;
	}

	/** full constructor */
	public MemberRank(Timestamp createDate, Timestamp modifyDate,
			Double amount, Boolean isDefault, Boolean isSpecial, String name,
			Double scale, Set promotionMemberRanks, Set members,
			Set productMemberPrices) {
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.amount = amount;
		this.isDefault = isDefault;
		this.isSpecial = isSpecial;
		this.name = name;
		this.scale = scale;
		this.promotionMemberRanks = promotionMemberRanks;
		this.members = members;
		this.productMemberPrices = productMemberPrices;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public Double getAmount() {
		return this.amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Boolean getIsDefault() {
		return this.isDefault;
	}

	public void setIsDefault(Boolean isDefault) {
		this.isDefault = isDefault;
	}

	public Boolean getIsSpecial() {
		return this.isSpecial;
	}

	public void setIsSpecial(Boolean isSpecial) {
		this.isSpecial = isSpecial;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getScale() {
		return this.scale;
	}

	public void setScale(Double scale) {
		this.scale = scale;
	}

	public Set getPromotionMemberRanks() {
		return this.promotionMemberRanks;
	}

	public void setPromotionMemberRanks(Set promotionMemberRanks) {
		this.promotionMemberRanks = promotionMemberRanks;
	}

	public Set getMembers() {
		return this.members;
	}

	public void setMembers(Set members) {
		this.members = members;
	}

	public Set getProductMemberPrices() {
		return this.productMemberPrices;
	}

	public void setProductMemberPrices(Set productMemberPrices) {
		this.productMemberPrices = productMemberPrices;
	}

}